<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
	<meta  charset="utf-8"/>
    <meta name="description" content="U联赛是中国大学生" />
    <meta name="Keyword" content="U联赛，大学生篮球联赛，大学篮球，篮球联赛" />
	<title>球队数据</title>
	<link rel="stylesheet" type="text/css"
	href="../../../admin/site/common/css/global.css" />
    <script type="text/javascript"
	src="../../../admin/site/common/js/jquery-1.11.1.min.js"></script>
	
</head>
<body>
	<div class="page">
		<div class="toper">
		</div><!--顶部广告banner-->
		<div class="header" id="header">
			<input id="sessionWeixin" type="hidden" th:value="${session.indexWeixin}"/>
			<input id="sessionFans" type="hidden" th:value="${session.indexFans}"/>
			<input id="sessionUser" type="hidden" th:value="${session.user==null?'1':'2'}"/>
			<input id="sessionUserName" type="hidden" th:if="${session.user!=null &amp;&amp; session.user.userName != null}" th:value="${session.user.userName}"/>		
		</div><!--复合导航栏-->
		<div class="bodymain dpmain">
			<div class="bdsharebuttonbox quicklink" id="fenxiang">
				<!-- 此处分享代码 -->
			</div>
			<ul class="tabnav">
				<li class="tab first " id="personal-Data">个人数据</li>
				<li class="tab tabon " id="team-Data">球队数据</li>
				<li class="tabblank"></li>
			</ul>
			
			
			<input type="hidden" id="seasonId" th:value="${seasonId}"/>
			<input type="hidden" id="zoneId" th:value="${zoneId}"/>
			<input type="hidden" id="cityId" th:value="${cityId}"/>
			<input type="hidden" id="schoolId" th:value="${schoolId}"/>
			<div class="dp-high">球队数据</div>
			<div class="greynav">
				<div class="sellabel sellabellight">赛季:
				</div>
				<div class="selone">
					<div class="sellight" id="season_sel">请选择</div>
					<ul class="selul selulight">
						<li th:each="seasonName:${seasons}" th:text="${seasonName.name}" 
							th:value="${seasonName.id}" th:id="${seasonName.id}" 
							class="querySeasonId">
						</li>
						
					</ul>
				</div>
				<div class="sellabel sellabellight">赛区:
				</div>
				<div class="selone">
					<div class="sellight" id="zone_sel">请选择</div>
					<ul class="selul selulight">
						<li th:each="zoneName:${zones}" th:text="${zoneName.name}"
							th:value="${zoneName.id}" th:id="${zoneName.id}"
							class="queryZoneId">
						</li>
						
					</ul>
				</div>
				<div class="sellabel sellabellight">城市:
				</div>
				<div class="selone">
					<div class="sellight" id="city_sel">请选择</div>
					<ul class="selul selulight" id="cityUi">
						<li></li>
						
					</ul>
				</div>
				<div class="sellabel sellabellight">学校:
				</div>
				<div class="selone">
					<div class="sellight sellong" id="school_sel">请选择</div>
					<ul class="selul selulight selulightlong" id="schoolUi">
						<li></li>
					</ul>
				</div>
				<button class="red-btn dt-search" id="dp-search">查询</button>
			</div>
			<table class="tablenav dt-table">
				<thead>
					<tr>
						<td>学校</td>
						<td>球队</td>
						<td>胜/场</td>
						<td>场均得分</td>
						<td>篮板</td>
						<td>抢断</td>
						<td>助攻</td>
						<td>封盖</td>
						<td>失误</td>
						<td>犯规</td>
						<td>罚球</td>
						<td>2分</td>
						<td>3分</td>
						<td>历史数据</td>
					</tr>
				</thead>
				<tbody>
					
					<tr th:each="team:${teamDates}">
						<td th:text="${team.schoolName}"></td>
						<td th:text="${team.teamName}"></td>
						<td th:text="${team.matchWon+'/'+team.screenings}"></td>
						
						<td th:text="${team.averageScore}"></td>
						<td th:text="${team.averageBackboard}"></td>
						<td th:text="${team.averageSteals}"></td>
						<td th:text="${team.averageAssistsAsts}"></td>
						<td th:text="${team.averageCapping}"></td>
						
						<td th:text="${team.averageFault}"></td>
						<td th:text="${team.averageFoul}"></td>
						<td th:text="${team.averageFreeThrow}"></td>
						<td th:text="${team.twoPointsHit}"></td>
						<td th:text="${team.threePointsHit}"></td>
						<td><a href="#" class="queryTeam" th:id="${team.teamId}">历史数据</a></td>
					</tr>
					
				</tbody>
			</table>
			<div class="mainbottomblank">
			</div>
		</div><!--data team-->
		<div class="footer  unblanfoot" id="footer" th:utext="${session.indexFooter}">
			
		</div><!--页面底部-->	
	</div>
</body>
	<script type="text/javascript" src="../../../admin/js/teamDataList.js"></script>
	<script type="text/javascript" src="../../../admin/site/common/js/header.js"></script>
	<script type="text/javascript">
	
	
	$(function(){
		$("#nav-data").attr("class","nav-clickon");
		/* $('.selul li').hover(function(){$(this).addClass('hovon')},function(){$(this).removeClass('hovon')});
		$('.selul li').on('click',function(){$(this).parent().slideToggle('fast').parent().find('.sellight').text($(this).text())});
		$('.sellight').on('click',function(){$(this).next().slideToggle('fast')});*/
	}); 
	</script>
</html>
